To Replace Cells from the System Command Line
- In a Command Prompt window, set the current working directory to the directory in which the OpenTunnel Designer executable program is installed — for example, C:\Program Files\Bentley\MicroStation 2023\MicroStation C:\Program Files\Bentley\PowerDraft\PowerDraft .
-
At the system command prompt, enter:
msbatch repcell.ma <DGN_file> <cell_library>
<y | n> <cell_to_replace> <replacement_cell>
drbatch repcell.ma <DGN_file> <cell_library>
<y | n> <cell_to_replace> <replacement_cell>
where
DGN file is the DGN file on which to
operate,
cell_library is the cell library that
contains the replacement cell, y keeps attributes, n does not keep attributes,
cell_to_replace is the name of the cell in design_file to replace, and
replacement_cell is the name of the replacement cell in cell_library.
OpenTunnel Designer starts without its normal graphical interface, and processing of the job begins. A OpenTunnel Designer console (Text) window opens so you can monitor the progress of the job.